package com.woniuxy.service;

import com.woniuxy.entity.dto.GoodsManagementDTO;
import com.woniuxy.util.PageData;
import com.woniuxy.util.ResponseData;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

public interface GoodsManagementService {
    ResponseData<?> queryAllGoods(PageData<GoodsManagementDTO> pageData);
    ResponseData<?> addGoods(GoodsManagementDTO goodsManagementDTO);
    ResponseData<?> updateGoods(GoodsManagementDTO goodsManagementDTO);
    ResponseData<?> updateStatus(GoodsManagementDTO goodsManagementDTO);
    ResponseData<?> batchUpdateStatus1(@RequestBody List<GoodsManagementDTO> goodsManagementDTOS);
    ResponseData<?> batchUpdateStatus0(@RequestBody List<GoodsManagementDTO> goodsManagementDTOS);

}
